package com.oracle.application.Fegin;

import com.oracle.application.Fegin.vo.Member;
import com.oracle.application.vo.R;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestParam;

@FeignClient(value = "system-bookshop-consumer-member",path = "/member")
public interface MemberFegin {
    @GetMapping("/getMemberByLoginName")
    public R<Member> getMemberByLoginName(@RequestParam("loginName") String loginName);
}
